package com.xh.car.util;

import lombok.Data;

/**
 * @Author PangJunjie
 * @Date 2024/4/24/024
 */
@Data
public class RTException extends RuntimeException {
    private Integer code = 500;
    private String msg = "服务器断开连接...";

    public RTException() {
    }

    public RTException(String msg) {
        this.msg = msg;
    }

    public RTException(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
